/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.edu.entity.course;

import com.idenger.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 课程教师Entity
 * @author chenlin
 * @version 2017-11-30
 */
public class EduCourseTeacher extends DataEntity<EduCourseTeacher> {
	
	private static final long serialVersionUID = 1L;
	private String teacherId;		// 教师ID
	private String courseId;		// 业务ID  分课程跟项目
	private String type;		// 类型
	
	public EduCourseTeacher() {
		super();
	}

	public EduCourseTeacher(String id){
		super(id);
	}

	@Length(min=0, max=64, message="教师ID长度必须介于 0 和 64 之间")
	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}
	
	@Length(min=0, max=64, message="业务ID  分课程跟项目长度必须介于 0 和 64 之间")
	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}
	
	@Length(min=0, max=10, message="类型长度必须介于 0 和 10 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}